﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrightFrame;

namespace AIM.DAL
{
    public class SystemDAL
    {
        private DbProvider dbProvider = new DbProvider();

        public int GetLastInsertID()
        {
            return Convert.ToInt32(dbProvider.ExecuteScalar("SELECT LAST_INSERT_ID()"));
        }
    }
}
